<?php
/* @var $this CmpDepositController */
/* @var $data CmpDeposit */
$zmrStatus = array(
		'1'=>'<span class="c_f60">待解释</span>',
		'2'=>'<span class="c_f60">待处理</span>',
		'3'=>'<span class="">已处理</span>',
);
?>

<tr>
	<td class="tl num" width="17%">
		<?php echo CHtml::checkBox('id[]','',array('class'=>'chk','onclick'=>'CheckList("ids[]","id[]")','value'=>$data->zmr_id))?>
		<?php echo CHtml::encode($data->zmr_id); ?>
	</td>
	<td class="tl" width="16%"><a class="c_06c" href="javascript:" title=""><?php echo CHtml::encode($data->zo_id); ?></a></td>
	<td width="13%"><?php echo CHtml::encode($data->buyer->zm_name); ?></td>
	<td width="16%"><?php echo CHtml::encode(MemReport::model()->getTypeInfo($data->zmr_type_info)); ?></td>
	<td width="12%"><?php echo $zmrStatus[$data->zmr_status]; ?></td>
	<td width="16%"><?php echo date('Y-m-d H:i',$data->inputtime)?></td>
	<td width="8%">
		<?php echo CHtml::link(($data->zmr_status!=1)?Yii::t('cmp','View'):Yii::t('cmp','Dispose'),array('view','id'=>$data->zmr_id),array('class'=>'c_06c'))?>
	</td>
</tr>



